#ifndef PRELISTITEM_H
#define PRELISTITEM_H

#include<QListWidgetItem>

class PreListItem : public QListWidgetItem
{
public:
    PreListItem(const QIcon&icon, const QString& text , const int &index, QListWidget *view = Q_NULLPTR, int type = Type);
    int GetIndex();
    QString getPath();
private:
    QString _path;
    int _index;
};

#endif // PRELISTITEM_H
